package cn.iocoder.yudao.module.policy.vo.banner;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 轮播图新增/修改 Request VO")
@Data
public class BannerSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29465")
    private Long id;

    @Schema(description = "轮播标题")
    private String title;

    @Schema(description = "图片URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "图片URL不能为空")
    private String imageUrl;

    @Schema(description = "跳转链接", example = "https://www.iocoder.cn")
    private String linkUrl;

    @Schema(description = "排序权重")
    private Integer sort;

    @Schema(description = "状态(0:禁用 1:启用)", example = "1")
    private Integer status;

    @Schema(description = "备注", example = "随便")
    private String remark;

}